# Define here the models for your scraped items
#
# See documentation in:
# https://docs.scrapy.org/en/latest/topics/items.html

import scrapy


class BidspiderItem(scrapy.Item):
    id = scrapy.Field()
    title = scrapy.Field()
    ctime = scrapy.Field()
    btype = scrapy.Field()
    bcode = scrapy.Field()
    amount = scrapy.Field()
    endtime = scrapy.Field()
    city = scrapy.Field()
    cityname = scrapy.Field()
    source = scrapy.Field()
    link = scrapy.Field()
    labels = scrapy.Field()
    abstracts = scrapy.Field()
    category = scrapy.Field()
    # 内容
    content = scrapy.Field()
    # 业主单位
    master = scrapy.Field()
    # 评审专家，逗号隔开
    experts = scrapy.Field()
    # 项目联系人
    project_contact = scrapy.Field()
    # 项目联系电话
    project_phone = scrapy.Field()
    # 采购单位地址
    master_address = scrapy.Field()
    # 采购单位联系方式
    master_contact = scrapy.Field()
    # 代理机构名称
    proxy_name = scrapy.Field()
    # 代理机构地址
    proxy_address = scrapy.Field()
    # 代理机构联系方式
    proxy_contact = scrapy.Field()
    # 中标单位名称及地址，json数组
    bidder = scrapy.Field()
    # 状态0待处理1待上传
    state = scrapy.Field()
